package com.dongdongsongcan.app.model.api;

import java.util.HashMap;

public class ApiUrl {
    public static HashMap<String, String> HEADERS = new HashMap<String, String>();

    static {
        HEADERS.put("apikey", "e3r4542343ewsd188");
    }

    public static String APIKEY = "e3r4542343ewsd188";
    public static String IMG_HOST = "http://www.jcy24.com/openapi/";
    public static String HOST_PRODUCE = "http://www.jcy24.com/openapi/index.php/";
    public static String HOST_TEST = "http://kjcms.jcy24.com/openapi/index.php/";

    public static String HOST = HOST_PRODUCE;

    public static String CATEGROY = HOST + "categroy";
    public static String AD = HOST + "ad";
    public static String LABEL = HOST + "ad/label";
    public static String SHOP = HOST + "shop";//per_page=11&limit=1&shop_type=&orderby=
    public static String MENUGROUP = HOST + "shop/menugroup";
    public static String MENULIST = HOST + "shop/menulist";
    public static String SHOPINFO = HOST + "shop/shopinfo";
    public static String ADDRESS = HOST + "address";
    public static String SEARCH = HOST + "search";
    public static String SEARCHSHOP = HOST + "search/searchshop";
    public static String ARTICLE = HOST + "search/article";// ?article_id=1

    public static String AUTHNUM = HOST + "user/authnum";// ?user_mobile=1397445214
    public static String MOBILE_LOGIN = HOST + "user/mobile_login";// ?user_mobile=1397445214&authnum=7177&session_id=sfbp4glripreiccmkjqvb3bmc1
    public static String USER_LOGIN = HOST + "user/user_login";// ?user_name=admin&user_pwd=admin
    public static String REGISTER_MOBILE = HOST + "user/register_mobile";// ?user_mobile=1397445214&authnum=6557&session_id=i0644i70g6ami4057f1eg677r1

    public static String SHOP_TIME = HOST + "/shop/shop_time";// ?shop_id=55
    public static String DISTANCE = HOST + "address/distance";// ?latitude1=36.074853&longitude1=120.323539&latitude2=36.081708&longitude2=120.393477
    public static String ADDRESS_NEARBY = HOST + "address/address_nearby";// ?site_x=50&site_y=50
    public static String DISTANCE_PRICE = HOST + "/address/distance_price";// ?area_id=50&shop_id=55

    public static String MENU_PIRCE = HOST + "/shop/menu_pirce";// ?menu_id=50

    public static String USER_FAVORABLE = HOST + "/user/user_favorable";
    public static String USER_ADDRESS_LIST = HOST + "/user/user_address_list";// ?token=330e7342e407a3ff59dc026532f6530f
    public static String USER_ADDRESS_INFO = HOST + "/user/user_address_info";// ?token=330e7342e407a3ff59dc026532f6530f&info_id=1
    public static String USER_ADDRESS_UPDATE = HOST
            + "/user/user_address_update";// ?token=330e7342e407a3ff59dc026532f6530f&info_id=1000&info[info_area_id]=189
    public static String USER_ADDRESS_DEL = HOST + "/user/user_address_del";// ?token=330e7342e407a3ff59dc026532f6530f&info_id=636
    public static String USER_ADDRESS_INSERT = HOST
            + "/user/user_address_insert";
    public static String USER_ADDRESS_NEARBY = HOST
            + "/address/address_nearby";
    public static String ORDER = HOST + "order"; // ?token=330e7342e407a3ff59dc026532f6530f
    public static String ORDER_INFO = HOST + "order/order_info";
    public static String ORDER_INSERT = HOST + "order/order_insert";
    public static String ORDER_STATUS = HOST + "order/order_status";

    public static String USER_COLLECT = HOST + "/user/user_collect";// ?token=330e7342e407a3ff59dc026532f6530f
    public static String USER_COLLECT_INSERT = HOST
            + "/user/user_collect_insert";// ?token=330e7342e407a3ff59dc026532f6530f&shop_id=199
    public static String USER_COLLECT_DEL = HOST + "/user/user_collect_del";// ?token=330e7342e407a3ff59dc026532f6530f&shop_id=199

}
